package com.pussinboots.morning.sync.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pussinboots.morning.sync.entity.ErpMorningOrderWriteback;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author TS
 * @since 2019-09-22
 */
@Repository
public interface ErpMorningOrderWritebackMapper extends BaseMapper<ErpMorningOrderWriteback> {
    /**
     * 同步完成后的反馈
     * @param orderNumbers
     * @return
     */
    Integer execWriteBack(@Param("orderNumbers") List<Long> orderNumbers);
}